﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Query.WeiXinPay
{
    /// <summary>
    /// 退款请求
    /// </summary>
    public class RefundQuery
    {
        /// <summary>
        /// 原支付交易对应的微信订单号,TransactionId与OutTradeNo二选一传入
        /// </summary>
        public string TransactionId { get; set; }

        /// <summary>
        /// 商户订单号 TransactionId与OutTradeNo二选一传入
        /// </summary>
        public string OutTradeNo { get; set; }

        /// <summary>
        /// 若传入，会在下发给用户的退款消息中体现退款原因，可为空
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 退款订单金额，不能超过该订单未退款金额
        /// </summary>
        public decimal Amount { get; set; }
    }
}
